package cn.pn.project.pojo.base;


import java.util.Date;

/**
 * @author  张夏青
 * 优惠券表
 */
public class Coupon {
    /**
     * 优惠券主键
     */
    private Integer couponId;

    public Integer getCouponId() {
        return couponId;
    }

    public void setCouponId(Integer couponId) {
        this.couponId = couponId;
    }

    public String getCouponName() {
        return couponName;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    public Integer getCouponType() {
        return couponType;
    }

    public void setCouponType(Integer couponType) {
        this.couponType = couponType;
    }

    public Double getCouponValue() {
        return couponValue;
    }

    public void setCouponValue(Double couponValue) {
        this.couponValue = couponValue;
    }

    public Integer getReleId() {
        return releId;
    }

    public void setReleId(Integer releId) {
        this.releId = releId;
    }

    public Integer getCouponRepertory() {
        return couponRepertory;
    }

    public void setCouponRepertory(Integer couponRepertory) {
        this.couponRepertory = couponRepertory;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getNumberDays() {
        return numberDays;
    }

    public void setNumberDays(Integer numberDays) {
        this.numberDays = numberDays;
    }

    public Integer getDisable() {
        return disable;
    }

    public void setDisable(Integer disable) {
        this.disable = disable;
    }

    public Integer getConversionCode() {
        return conversionCode;
    }

    public void setConversionCode(Integer conversionCode) {
        this.conversionCode = conversionCode;
    }

    /**
     * 优惠券名称
     */
    private String couponName;
    /**
     * 类型（0无门槛、1一级、2商品）
     */
    private Integer couponType;
    /**
     * 优惠券面值
     */
    private Double couponValue;
    /**
     * 关联ID（1找类别、2找商品）
     */
    private Integer releId;
    /**
     * 优惠券库存
     */
    private Integer couponRepertory;
    /**
     * 开始时间
     */
    private Date startTime;
    /**
     * 截止时间
     */
    private Date endTime;
    /**
     * 状态（0过期、1可用）
     */
    private Integer status;
    /**
     * 天数
     */
    private Integer numberDays;
    /**
     * 是否可用
     */
    private Integer disable;
    /**
     * 兑换券
     */
    private Integer conversionCode;


}
